package com.unionftech.content_login.service

/**
 * 用于存储登录模块的常量信息
 */
object LoginConstants {
    object Key {
        /**
         * 本次的登录方式
         */
        const val LOGIN_WAY = "login_way"
    }

    object Constant {

        /**
         * 一键登录方式
         */
        const val LOGIN_BY_QUICK = "quick_login"

        /**
         * google登录
         */
        const val LOGIN_BY_GOOGLE = "google_login"

        /**
         * 账密登录
         */
        const val LOGIN_BY_ACCOUNT = "account_login"


        /**
         *  网易一键登录的type
         */
        const val LOGIN_TYPE_NETEASE = 3

        /**
         * Google 登录的type
         */
        const val LOGIN_TYPE_GOOGLE = 2

        /**
         * 中国的国际code
         */
        const val CHINA_CODE = "CHN"

        /**
         * 网易一键登录，业务ID
         */
        const val QUICK_LOGIN_BUSINESS_ID = "d719c5a37c8644a58955eec27ed66fdb"

        /**
         * Google三方登录的WebClientID
         */
        const val GOOGLE_LOGIN_WEB_CLIENT_ID =
            "627900280936-jka9u8npvgttffhfj8cn8c2ki1vvujg5.apps.googleusercontent.com"

        /**
         * Google 三方登录的AndroidClientID
         */
        const val GOOGLE_LOGIN_ANDROID_CLIENT_ID =
            "627900280936-fthfgmv5meqcf18mm86r6u00rgsk6pmc.apps.googleusercontent.com"

        /**
         * PDF预览网页url
         */
        const val PDF_H5_BASE_URL = "https://assets.cdn.neex.com/landingpage/promotion/1748316036560.html"
    }

    object Code {
        /**
         * 注册且登录成功
         */
        const val REGISTER_LOGIN_SUCCESS = "MSCS0009"

        /**
         * 登录密码错误，锁定账户提醒
         */
        const val LOGIN_LOCK_WARNING = "MSUE0009"

        /**
         * 异地登录提醒
         */
        const val REMOTE_LOGIN_WARNING = "MSUE0007"
    }
}